package com.wan.server.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * Description:
 * date: 2021/12/24 11:13
 *
 * @author 万富
 * @since JDK 1.8
 */
@Data
@ApiModel("分页公共返回对象")
@NoArgsConstructor
@AllArgsConstructor
public class RespPageBean implements Serializable {

    /**
     * 总条数
     */
    @ApiModelProperty(value = "总条数",required = true)
    private Long total;

    /**
     * 数据List
     */
    @ApiModelProperty(value = "分页数据集合",required = true)
    private List<?> data;
}
